home *** CD-ROM | disk | FTP | other *** search
- package com.sun.java.swing;
-
- import java.awt.Point;
- import java.awt.event.ActionEvent;
- import java.awt.event.ActionListener;
- import java.awt.event.MouseEvent;
-
- class Autoscroller$AutoScrollTimerAction implements ActionListener {
- // $FF: synthetic field
- Autoscroller this$0;
-
- public void actionPerformed(ActionEvent x) {
- if (this.this$0.component.isShowing() && this.this$0.event != null) {
- Point screenLocation = this.this$0.component.getLocationOnScreen();
- MouseEvent e = new MouseEvent(this.this$0.component, this.this$0.event.getID(), this.this$0.event.getWhen(), this.this$0.event.getModifiers(), this.this$0.event.getX() - screenLocation.x, this.this$0.event.getY() - screenLocation.y, this.this$0.event.getClickCount(), this.this$0.event.isPopupTrigger());
- this.this$0.component.superProcessMouseMotionEvent(e);
- } else {
- this.this$0.stop();
- }
- }
-
- // $FF: synthetic method
- Autoscroller$AutoScrollTimerAction(Autoscroller this$0) {
- this.this$0 = this$0;
- }
- }
-